Skip to content

Conversation

@Tofel
Copy link
Contributor

@Tofel Tofel commented Dec 10, 2025

and... remove commented out code left from refactor
and... deploy OCR3 contracts for EVM on each chain instead of the registry chain

@Tofel Tofel added the run-e2e-regression This label triggers regression system tests on PR label Dec 10, 2025
@Tofel Tofel changed the title [CRE-983] allow tests to run EVM cap tests on two chains [CRE-1492] allow tests to run EVM cap tests on two chains Dec 10, 2025
@github-actions
Copy link
Contributor

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@Tofel Tofel marked this pull request as ready for review December 10, 2025 10:15
@Tofel Tofel requested review from a team as code owners December 10, 2025 10:15
@Tofel Tofel requested review from chudilka1 and Copilot December 10, 2025 10:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables EVM capability tests to run on two chains by removing single-chain constraints that were previously in place. The changes involve cleaning up commented code from a previous refactor, updating OCR3 contract deployment to use per-chain selectors instead of the registry chain selector, and enabling EVM capabilities on both chains (1337 and 2337) in the topology configurations.

Key Changes:

  • Removed TODO comments and code that artificially limited tests to a single blockchain
  • Modified OCR3 contract deployment to deploy contracts on each EVM chain instead of only on the registry chain
  • Updated TOML configurations to enable EVM capability on both chains 1337 and 2337

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
system-tests/tests/smoke/cre/cre_suite_test.go Removed single-chain limitations and TODO comments; added t.Skip() to multiple v2 test cases
system-tests/tests/regression/cre/cre_regression_suite_test.go Removed single-chain blockchain filtering and associated TODO comments
system-tests/lib/cre/features/evm/v2/evm.go Updated OCR3 deployment to use chain-specific selectors; removed large block of commented code; fixed typos
core/scripts/cre/environment/examples/workflows/v2/proof-of-reserve/cron-based/main.go Changed hardcoded chain selector to use config value
core/scripts/cre/environment/examples/workflows/v2/proof-of-reserve/cron-based/go.mod Removed unused chain-selectors dependency
core/scripts/cre/environment/configs/workflow-gateway-don.toml Enabled EVM capability for both chains 1337 and 2337
core/scripts/cre/environment/configs/workflow-gateway-capabilities-don.toml Added chain configuration comments and enabled EVM on appropriate chains
core/scripts/cre/environment/configs/workflow-don.toml Enabled EVM capability for both chains 1337 and 2337

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
11.1% Duplication on New Code (required ≤ 10%)

See analysis details on SonarQube

@trunk-io
Copy link

trunk-io bot commented Dec 10, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@Tofel Tofel added this pull request to the merge queue Dec 10, 2025
Merged via the queue into develop with commit a4cfbbe Dec 10, 2025
217 of 220 checks passed
@Tofel Tofel deleted the cre-983-run-evm-smoke-on-two-chains branch December 10, 2025 17:36
Tofel added a commit that referenced this pull request Dec 11, 2025
* allow tests to run EVM cap tests on two chains, remove commented out code left from refactor

* typos + removal of t.Skip()
github-merge-queue bot pushed a commit that referenced this pull request Dec 12, 2025
* [CRE-1492] allow tests to run EVM cap tests on two chains (#20581)

* allow tests to run EVM cap tests on two chains, remove commented out code left from refactor

* typos + removal of t.Skip()

* better messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-e2e-regression This label triggers regression system tests on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants